<?php

/**
* <class description>
* 
* @author
* @link
*/

class Menu extends Controller
{
    public function __construct()
    {
        parent::Controller();      

    }    

    public function index()
    {

        $this->load->model('aboutmodel'); 
        $data["about"] = $this->aboutmodel->get_about_headlines();

        if (session_check()) {
            $this->load->model('wishlistsmodel'); 
            $data["wishlists"] = $this->wishlistsmodel->get_wishlists($this->session->userdata('user_id'));
        } else {
            $data["wishlists"] = array();
        }

        $this->load->view("menu", $data);

    }  
}

/* End of file users.php */
/* Location: ./system/application/modules/frontoffice/controllers/home.php  */ 